package com.example.changestyle;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Window;

public class MainActivity extends AppCompatActivity {

    private static boolean useThemeBlack = true;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        /*if (useThemeBlack){
            setTheme(R.style.SwitchTheme1);
        }else {
            setTheme(R.style.SwitchTheme2);
        }
        useThemeBlack = !useThemeBlack;*/

        requestWindowFeature(Window.FEATURE_NO_TITLE);

        setContentView(R.layout.activity_main);

    }
}
